<?php

class Poll_Plugin_Callback_Feed
{
	function addNew($item, $spec)
	{
		$headline= ':poster posted poll :object';
		
		$poster =  $item->getPoster();
		
		$object =  $item->getObject();
		
		return strtr($headline, array(':poster' => $poster->toCardhoverLink(), ':object'=>$object));
	}
}
